package com.woniuxy01;

import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入学生java成绩");
        int java = scanner.nextInt();
        System.out.println("输入学生html成绩");
        int html = scanner.nextInt();
        if ((java>=95&&html>=90)||(java==100&&html>=80)) {
            System.out.println("考的不错，奖励");
        }else{
            System.out.println("考的差，惩罚");
        }

        System.out.println("程序结束");

    }
}